[Unit]
Description=Filebeat
Documentation=https://www.elastic.co/guide
After=network.target

[Service]
Type=simple
User=root
Group=root
Restart=always
WorkingDirectory={{ install_path }}/filebeat
ExecStart={{ install_path }}/filebeat/filebeat -c {{ install_path }}/filebeat/filebeat.yml

[Install]
WantedBy=multi-user.target